package fr.contacts.models;

import java.io.Serializable;

public class Adresse implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -8434731424998183380L;

	private int id;

	private String type;
	
	private String numero;
	
	private String rue;
	
	private String codePostal;
	
	private String ville;

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getNumero() {
		return numero;
	}

	public void setNumero(String numero) {
		this.numero = numero;
	}

	public String getRue() {
		return rue;
	}

	public void setRue(String rue) {
		this.rue = rue;
	}

	public String getCodePostal() {
		return codePostal;
	}

	public void setCodePostal(String codePostal) {
		this.codePostal = codePostal;
	}

	public String getVille() {
		return ville;
	}

	public void setVille(String ville) {
		this.ville = ville;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	@Override
	public String toString() {
		return "Adresse [id=" + id + ", type=" + type + ", numero=" + numero
				+ ", rue=" + rue + ", codePostal=" + codePostal + ", ville="
				+ ville + "]";
	}
	
	

}
